package com.kingdee.eas.minghua.contract;

import com.kingdee.bos.BOSException;
import com.kingdee.bos.BOSObjectFactory;
import com.kingdee.bos.util.BOSObjectType;
import com.kingdee.bos.Context;

public class FbcghtDocE2Factory
{
    private FbcghtDocE2Factory()
    {
    }
    public static com.kingdee.eas.minghua.contract.IFbcghtDocE2 getRemoteInstance() throws BOSException
    {
        return (com.kingdee.eas.minghua.contract.IFbcghtDocE2)BOSObjectFactory.createRemoteBOSObject(new BOSObjectType("F7A16484") ,com.kingdee.eas.minghua.contract.IFbcghtDocE2.class);
    }
    
    public static com.kingdee.eas.minghua.contract.IFbcghtDocE2 getRemoteInstanceWithObjectContext(Context objectCtx) throws BOSException
    {
        return (com.kingdee.eas.minghua.contract.IFbcghtDocE2)BOSObjectFactory.createRemoteBOSObjectWithObjectContext(new BOSObjectType("F7A16484") ,com.kingdee.eas.minghua.contract.IFbcghtDocE2.class, objectCtx);
    }
    public static com.kingdee.eas.minghua.contract.IFbcghtDocE2 getLocalInstance(Context ctx) throws BOSException
    {
        return (com.kingdee.eas.minghua.contract.IFbcghtDocE2)BOSObjectFactory.createBOSObject(ctx, new BOSObjectType("F7A16484"));
    }
    public static com.kingdee.eas.minghua.contract.IFbcghtDocE2 getLocalInstance(String sessionID) throws BOSException
    {
        return (com.kingdee.eas.minghua.contract.IFbcghtDocE2)BOSObjectFactory.createBOSObject(sessionID, new BOSObjectType("F7A16484"));
    }
}